<script type="text/javascript">
 $(function() {
	$("#giaodich").click(function(){
		var cust_id = $("#txtSearchCust_ID").val();
		location.href="<?php echo base_url();?>"+"transaction/chitietgiaodich/?Cust_ID="+ cust_id;
	});
	$("#qlkh").click(function(){
		var cust_id = $("#txtSearchCust_ID").val();
		if(!cust_id){
			location.href="<?php echo base_url();?>"+"customer";
		}else
			location.href="<?php echo base_url();?>"+"customer/edit/"+ cust_id;
	});
 });
 
</script>
<style type="text/css">
	#giaodich{
		cursor:pointer;
		width:184px;
		height:171px;
		float:left;
		padding:15px;
	}
	#qlkh{
		cursor:pointer;
		width:186px;
		height:171px;
		float:left;
		padding:15px;
	}
</style>
	<div id="content"> <!-- content -->
		<div style="width:500px;margin:20px auto 0;">
			<div id="giaodich"><img src="<?php echo base_url()?>resources/images/giaodich.png" alt="Giao dich"/></div>
			<div id="qlkh"><img src="<?php echo base_url()?>resources/images/qlkh.png" alt="Quan ly khach hang"/></div>
		</div>
	</div><!--end content -->
</div><!-- end container -->